#import "BrightenLeapfrogView.h"


@implementation BrightenLeapfrogView



- (void)setWander:(BrightenLeapfrogModel *)wander {
	_wander = wander;

	//: 配置cell的UI

	if (wander.perceptive.count > 0) {
		[self.keepsakeDreamerEchoImageView sd_setImageWithURL:[NSURL URLWithString:wander.perceptive[0]] placeholderImage:nil];
	}



	if (wander.perceptive.count > 0) {
		[self.velvetMergeImageView sd_setImageWithURL:[NSURL URLWithString:wander.perceptive[0]] placeholderImage:nil];
	}

}
- (UIImageView *)zebraDreamscapeImageView {
	if (!_zebraDreamscapeImageView) {
	
        _zebraDreamscapeImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
        _zebraDreamscapeImageView.contentMode = UIViewContentModeScaleAspectFill;
        _zebraDreamscapeImageView.clipsToBounds = YES;
        _zebraDreamscapeImageView.layer.cornerRadius = 8;
        _zebraDreamscapeImageView.layer.masksToBounds = YES;
        _zebraDreamscapeImageView.size = CGSizeMake(124, 134);
        _zebraDreamscapeImageView.left = 9;
        _zebraDreamscapeImageView.top = 31;
        UIImage *nostalgia = [UIImage imageNamed:@"images/image_4.png"];
        if (nostalgia) {
	        _zebraDreamscapeImageView.image = nostalgia;
        }
	}
	return _zebraDreamscapeImageView;
}

//: 设置_velvetMergeImageView的圆角
- (void)pulseGrasp:(UIImageView *)joyous yearling:(CGFloat)xeroxCrispBlaze {
	joyous.layer.cornerRadius = xeroxCrispBlaze;
	joyous.layer.masksToBounds = YES;
}

- (UIImageView *)velvetMergeImageView {
	if (!_velvetMergeImageView) {
	
        _velvetMergeImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
        _velvetMergeImageView.contentMode = UIViewContentModeScaleAspectFill;
        _velvetMergeImageView.clipsToBounds = YES;
        //: UIImageView的骚操作 充数
        [self pulseGrasp:_velvetMergeImageView yearling:13];
        UIImage *zipper = [UIImage imageNamed:@"images/image_5.png"];
        if (zipper) {
	        _velvetMergeImageView.image = zipper;
        }
	}
	return _velvetMergeImageView;
}

//: 设置_pulseSoarFableImageView的圆角
+ (void)quirkFlutterDreamscape:(UIImageView *)elevateElusive blossom:(CGFloat)curiousHarmonyVolatile {
	elevateElusive.layer.cornerRadius = curiousHarmonyVolatile;
	elevateElusive.layer.masksToBounds = YES;
}

- (UIImageView *)pulseSoarFableImageView {
	if (!_pulseSoarFableImageView) {
	
        _pulseSoarFableImageView = [[UIImageView alloc] init];
        _pulseSoarFableImageView.contentMode = UIViewContentModeScaleAspectFill;
        _pulseSoarFableImageView.clipsToBounds = YES;
        //: UIImageView的骚操作 充数
        [BrightenLeapfrogView quirkFlutterDreamscape:_pulseSoarFableImageView blossom:5];
        UIImage *magnitude = [UIImage imageNamed:@"images/image_7.png"];
        if (magnitude) {
	        _pulseSoarFableImageView.image = magnitude;
        }
	}
	return _pulseSoarFableImageView;
}

- (void)waffleSetupViews {

    //: 描述_0
    self.melancholyXenialTextView = [[UITextView alloc] initWithFrame:CGRectZero];
    self.melancholyXenialTextView.size = CGSizeMake(140, 132);
    self.melancholyXenialTextView.left = 14;
    self.melancholyXenialTextView.top = 5;
    [self addSubview:self.melancholyXenialTextView];


    //: 描述_1
    UIView *yarnTanglePrism = [[UIView alloc] initWithFrame:CGRectZero];
    self.delightView = yarnTanglePrism;
    [self addSubview:yarnTanglePrism];
	[self.delightView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(156);
		make.height.mas_equalTo(192);
		make.bottom.equalTo(@(24));
	}];


    //: 描述_2
    self.transformXenophileEnigmaTextView = [[UITextView alloc] init];
    self.transformXenophileEnigmaTextView.frame = CGRectMake(1, 35, 175, 110);
    [self addSubview:self.transformXenophileEnigmaTextView];


    //: 描述_3
    UIImageView *flourishXenophileOracle = [[UIImageView alloc] initWithFrame:CGRectZero];
    flourishXenophileOracle.contentMode = UIViewContentModeScaleAspectFill;
    flourishXenophileOracle.clipsToBounds = YES;
    flourishXenophileOracle.layer.cornerRadius = 18;
    flourishXenophileOracle.layer.masksToBounds = YES;
    UIImage *zest = [UIImage imageNamed:@"images/image_3.png"];
    if (zest) {
	    flourishXenophileOracle.image = zest;
    }
    self.keepsakeDreamerEchoImageView = flourishXenophileOracle;
    [self addSubview:flourishXenophileOracle];
	[self.keepsakeDreamerEchoImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(139);
		make.height.mas_equalTo(85);
		make.bottom.equalTo(@(30));
	}];

	//: 描述_4
	[self addSubview:self.zebraDreamscapeImageView];

	//: 描述_5
	[self addSubview:self.velvetMergeImageView];
	[self.velvetMergeImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(31);
		make.height.mas_equalTo(36);
		make.top.equalTo(@(10));
		make.bottom.equalTo(@(16));
	}];


    //: 描述_6
    self.oasisView = [[UIView alloc] initWithFrame:CGRectZero];
    self.oasisView.frame = CGRectMake(30, 9, 125, 85);
    [self addSubview:self.oasisView];

	//: 描述_7
	[self addSubview:self.pulseSoarFableImageView];
	[self.pulseSoarFableImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(83);
		make.height.mas_equalTo(103);
	}];


    //: 描述_8
    UITextField *harmonyHeatwaveLantern = [[UITextField alloc] initWithFrame:CGRectZero];
    self.yawnRebirthTextField = harmonyHeatwaveLantern;
    [self addSubview:harmonyHeatwaveLantern];
	[self.yawnRebirthTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(126);
		make.height.mas_equalTo(80);
	}];
}


@end